<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/1/31
 * Time: 20:04
 */

namespace app\index\validate;

use think\Validate;

class User extends Validate
{
    protected $rule = [
        'name'  =>  'require|max:25',
        'email' =>  'email',
    ];

}